package com.open.capacity.recuritment.dao;

import com.open.capacity.common.model.SysUser;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import com.open.capacity.recuritment.Dto.RecruitmentDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Vector;

/**
 * @description:
 * @date:2021/5/25 下午5:38
 * @author:jxy
 */
@Mapper
public interface IRecommendDao {
    List<RecruitmentDto> findJobOffers(Map<String, Object> params);

    int count(Map<String, Object> params);

    List<SysUser> findAllUnemployed();

    void pushUnemployed(@Param("userId") String userId,
                        @Param("companyId") String companyId,
                        @Param("recruitmentId") String recruitmentId
    );

}
